package com.laowang.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;

/**
 * 介绍信息对象 my_article
 *
 * @author laowang
 * @date 2023-05-17
 */
@NoArgsConstructor
@Data
public class MyArticle implements Serializable{
private static final long serialVersionUID=1L;

        /** $column.columnComment */
            @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

            /** 文章标题 */
                                                        @Excel(name = "文章标题")
                        @ApiModelProperty(value = "文章标题", required = false)
    private String title;

            /** 文章封面图 */
                                                        @Excel(name = "文章封面图")
                        @ApiModelProperty(value = "文章封面图", required = false)
    private String cover;

            /** 文章内容 */
                                                        @Excel(name = "文章内容")
                        @ApiModelProperty(value = "文章内容", required = false)
    private String content;

            /** 文章分类id */
                                                        @Excel(name = "文章分类id")
                        @ApiModelProperty(value = "文章分类id", required = false)
    private Integer typeId;

            /** 文章创建时间 */
                                                        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "文章创建时间", width = 30, dateFormat = "yyyy-MM-dd")
                        @ApiModelProperty(value = "文章创建时间", required = false)
    private Date ctime;

            /** 修改时间 */
                                                        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
                        @ApiModelProperty(value = "修改时间", required = false)
    private Date utime;

            /** 文章排序  从小到大 */
                                                        @Excel(name = "文章排序  从小到大")
                        @ApiModelProperty(value = "文章排序  从小到大", required = false)
    private Integer sort;

            /** 1 发布  2 不发布 */
                                                        @Excel(name = "1 发布  2 不发布")
                        @ApiModelProperty(value = "1 发布  2 不发布", required = false)
    private Integer isPub;

            /** 软删除位置  有时间代表删除 */
                                                        @Excel(name = "软删除位置  有时间代表删除")
                        @ApiModelProperty(value = "软删除位置  有时间代表删除", required = false)
    private Integer isdel;

            /** 访问量 */
                                                        @Excel(name = "访问量")
                        @ApiModelProperty(value = "访问量", required = false)
    private Integer pv;

            /** 简介 */
                                                        @Excel(name = "简介")
                        @ApiModelProperty(value = "简介", required = false)
    private String brief;

                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
    

    }
